<template>
  <div class="sys-header">
    <div class="sys-title" @click.stop="onLogoClick">
      <!-- <img class="logo-title" src="@images/home/home-header-logo.svg" alt="" /> -->
      <!-- <img class="logo-img" src="@/assets/images/login/logo.png" /> -->
      <span class="title syht30">中小微企业判定监测系统</span>
    </div>
    <div v-if="$slots.default" class="content">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SysHeader',
  emits: ['logo-click'],
  methods: {
    onLogoClick() {
      this.$emit('logo-click')
    },
  },
}
</script>

<style lang="scss" scoped>
.sys-header {
  padding: 0 20px;
  width: 100%;
  height: 118px;
  position: relative;
  display: flex;
  justify-content: flex-start;
  box-shadow: 0px 2px 14px 1px rgba(67, 71, 74, 0.15);
  background-color: #fff;
  .sys-title {
    display: flex;
    // flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    .title {
      // font-size: 26px;
      // font-weight: 600;
      color: #0b1a26;
    }
  }
  .content {
    flex: 1;
    overflow: hidden;
    position: relative;
  }

  @media screen and(max-width:800px) {
    padding: 0 10px;
    .sys-title {
      .logo-title {
        height: 66px;
      }
    }
  }
}
</style>
